#pragma once
#include "FasControll.h"
class FButton:public FasControll
{
private:
	CONST WCHAR* mTitle = nullptr;
	int mWidth = 0;
	int mHeight = 0;
	int mPosX = 0;
	int mPosY = 0;

	WNDPROC oldProc;

public:
	HWND mWnd;
	FButton(FasControll* parent,CONST WCHAR* title);
	virtual LRESULT Dispatch(UINT message, WPARAM wParam, LPARAM lParam);
	void Create();
};

